package org.springdemo3.d1.test1;

import org.springframework.stereotype.Component;

@Component("userService1")
public class UserServiceImpl implements UserService {
    @Override
    public String getUserName(Integer id) {
        System.out.println("名字"+id);
        return "名字"+id;
    }
}
